package com.bootdo.clouddo.service.article;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.bootdo.clouddo.domain.article.ArticleDO;

public interface IArticleService {
	
	int save(ArticleDO post);

	ArticleDO get(String id);

	List<ArticleDO> find(String[] category, String wd, String channel, Integer page, Integer size);
	
	List<ArticleDO> findByUser(String[] category, String wd, String channel, Integer page, Integer size);
	
	Map<String, ?> countByUser(@Param("uid")String uid);

}
